<!DOCTYPE html>
<html lang="en">
<head>
<title>Brook Tardigrade: BrookLibraryLoader: Class TBrookLibraryLoader</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Brook Tardigrade</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><form class="search-form" action="tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<span id="TBrookLibraryLoader"></span><h1 class="cio">Class TBrookLibraryLoader</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="BrookLibraryLoader.html">BrookLibraryLoader</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TBrookLibraryLoader = class(<a class="normal" href="BrookHandledClasses.TBrookHandledComponent.html">TBrookHandledComponent</a>)</code></p>
<h2 class="description">Description</h2>
<p>
Class for dynamic library loading.</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor">TPersistent</li>
<li class="ancestor">TComponent</li>
<li class="ancestor"><a class="normal" href="BrookHandledClasses.TBrookHandledComponent.html">TBrookHandledComponent</a></li>
<li class="thisitem">TBrookLibraryLoader</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>nested const <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#LIB_NAME">LIB_NAME</a></strong> = SG_LIB_NAME;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Create">Create</a></strong>(AOwner: TComponent); override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class procedure <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Load">Load</a></strong>(const ALibraryName: TFileName); overload; static;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class procedure <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Load">Load</a></strong>; overload; static;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class procedure <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Unload">Unload</a></strong>; static;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class function <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#IsLoaded">IsLoaded</a></strong>: Boolean; static;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Open">Open</a></strong>; virtual;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Close">Close</a></strong>; virtual;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Active">Active</a></strong>: Boolean read FActive write SetActive stored IsActiveStored;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#LibraryName">LibraryName</a></strong>: TFileName read FLibraryName write SetLibraryName
      stored IsLibraryNameStored;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#Version">Version</a></strong>: string read FVersion stored False;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#OnLoad">OnLoad</a></strong>: TNotifyEvent read FOnLoad write FOnLoad;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><code>property <strong><a href="BrookLibraryLoader.TBrookLibraryLoader.html#OnUnload">OnUnload</a></strong>: TNotifyEvent read FOnUnload write FOnUnload;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="LIB_NAME"></span><code>nested const <strong>LIB_NAME</strong> = SG_LIB_NAME;</code></td>
</tr>
<tr><td colspan="2">
<p>
Default library name.</p>
</td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create"></span><code>constructor <strong>Create</strong>(AOwner: TComponent); override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Creates an instance of <code><a class="normal" href="BrookLibraryLoader.TBrookLibraryLoader.html">TBrookLibraryLoader</a></code>. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>AOwner[in]</dt>
<dd>Owner component.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p>
Destroys an instance of <code><a class="normal" href="BrookLibraryLoader.TBrookLibraryLoader.html">TBrookLibraryLoader</a></code>.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Load"></span><code>class procedure <strong>Load</strong>(const ALibraryName: TFileName); overload; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Loads the library dynamically. </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>ALibraryName</dt>
<dd>Library name.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Load"></span><code>class procedure <strong>Load</strong>; overload; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Loads the library dynamically.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Unload"></span><code>class procedure <strong>Unload</strong>; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Unloads the library dynamically.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsLoaded"></span><code>class function <strong>IsLoaded</strong>: Boolean; static;</code></td>
</tr>
<tr><td colspan="2">
<p>
Checks if the library is already loaded.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Open"></span><code>procedure <strong>Open</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Loads the library dynamically.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Close"></span><code>procedure <strong>Close</strong>; virtual;</code></td>
</tr>
<tr><td colspan="2">
<p>
Unloads the library dynamically.</p>
</td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="Active"></span><code>property <strong>Active</strong>: Boolean read FActive write SetActive stored IsActiveStored;</code></td>
</tr>
<tr><td colspan="2">
<p>
Loads/Unloads the library dynamically.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="LibraryName"></span><code>property <strong>LibraryName</strong>: TFileName read FLibraryName write SetLibraryName
      stored IsLibraryNameStored;</code></td>
</tr>
<tr><td colspan="2">
<p>
Specifies the library to be loaded dynamically.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="Version"></span><code>property <strong>Version</strong>: string read FVersion stored False;</code></td>
</tr>
<tr><td colspan="2">
<p>
<code>Version</code> of the loaded library.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnLoad"></span><code>property <strong>OnLoad</strong>: TNotifyEvent read FOnLoad write FOnLoad;</code></td>
</tr>
<tr><td colspan="2">
<p>
Notifies that the library is loaded.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="published.gif" alt="Published" title="Published"></a></td>
<td class="itemcode"><span id="OnUnload"></span><code>property <strong>OnUnload</strong>: TNotifyEvent read FOnUnload write FOnUnload;</code></td>
</tr>
<tr><td colspan="2">
<p>
Notifies that the library is unloaded.</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0</a>. </em>
</span>
</div></div></body></html>
